package com.mentaleye.biz;

import java.util.List;
import java.util.Map;

import com.mentaleye.bean.UserLoginBean;
import com.mentaleye.dal.model.UserLogin;
import com.mentaleye.util.CommonResult;

public interface UserLoginBiz {

	CommonResult insertRecord(UserLoginBean dataBean);

	CommonResult insertByList(List<UserLoginBean> beanList);
	
	CommonResult updateRecord(UserLoginBean dataBean);
	
	CommonResult updateRecordSelective(UserLoginBean dataBean);

	UserLogin getBySelective(UserLoginBean dataBean);

	UserLoginBean getBeanBySelective(UserLoginBean dataBean);
	
	CommonResult checkBySelective(UserLoginBean dataBean);
	
	CommonResult checkLogin(UserLoginBean dataBean);
	
	CommonResult checkLoginName(UserLoginBean dataBean);
	
	CommonResult deleteByKeyList(List<Integer> keyList);

	List<Map<String,Object>> getLoginByMap(Map<String,Object> map);
	
	CommonResult toIndex();
	
	void loginOut();
}
